package org.yogurtcat.server.modules.resourcemanage.dao;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.Repository;
import org.yogurtcat.server.modules.resourcemanage.domain.Resource;

public interface ResourceRepository extends Repository<Resource, Long>, JpaSpecificationExecutor<Resource> {

	Resource save(Resource resource);

	void delete(Resource resource);

	Resource findById(Long id);
	
}
